﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.IO;

namespace WcfContract
{
    [ServiceContract(CallbackContract = typeof(ICallbackContract), 
        SessionMode=SessionMode.Allowed)]
    public interface IServiceBufferedContract
    {
        [OperationContract( IsOneWay=false)]
        void SimpleFunctionCall();

        [OperationContract(IsOneWay = false)]
        void Test( byte[] data, int callbacks);

        [OperationContract(IsOneWay = true)]
        void OneWay( byte[] data );

        [OperationContract(IsOneWay = false)]
        byte[] Recceive();


    }
}
